package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * illustriousness.`cw_property`对象 cw_property
 * 
 * @author ruoyi
 * @date 2022-11-29
 */
public class CwProperty extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long pid;

    /** 主页ID */
    @Excel(name = "主页ID")
    private Long yezhuid;

    /** 入住时间 */
    @Excel(name = "入住时间")
    private Long roomtime;

    /** 到期时间 */
    @Excel(name = "到期时间")
    private Long duetime;

    /** 费用 */
    @Excel(name = "费用")
    private BigDecimal cost;

    public void setPid(Long pid) 
    {
        this.pid = pid;
    }

    public Long getPid() 
    {
        return pid;
    }
    public void setYezhuid(Long yezhuid) 
    {
        this.yezhuid = yezhuid;
    }

    public Long getYezhuid()
    {
        return yezhuid;
    }
    public Long setRoomtime(Long roomtime)
    {
        this.roomtime = roomtime;
        return roomtime;
    }

    public Long getRoomtime()
    {
        return roomtime;
    }
    public Long setDuetime(Long duetime)
    {
        this.duetime = duetime;
        return duetime;
    }

    public Long getDuetime()
    {
        return duetime;
    }
    public void setCost(BigDecimal cost) 
    {
        this.cost = cost;
    }

    public BigDecimal getCost() 
    {
        return cost;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pid", getPid())
            .append("yezhuid", getYezhuid())
            .append("roomtime", getRoomtime())
            .append("duetime", getDuetime())
            .append("cost", getCost())
            .toString();
    }
}
